package com.stnet.service.enterprice.base;

import java.util.List;

import com.stnet.entity.Authorities;
import com.stnet.entity.EnterpriseColumn;

/**
 * @author Messcat
 * @version 1.1
 */
public interface EpColumnManagerDao {

	public List findByFatherAndState();

	public List findEnterpriseColumn();

	public List findAllEnterpriseColumn();

	public EnterpriseColumn getEnterpriseColumn(Long id);

	public void saveEnterpriseColumn(EnterpriseColumn enterprisecolumn);

	public void updateEnterpriseColumn(EnterpriseColumn enterprisecolumn, Authorities auth);

	public void deleteEnterpriseColumn(Long id);

	public List findSubColumn(Long father);

	public boolean isNameUnique(String names, String orgName, Long father);

	public EnterpriseColumn getEnterpriseColumn(String state);

	public List findFrontInfoFrontNumNotNull();

	public List findTreeByFather(Long father);

}